@layout("/common/_form.html",{js:["/assets/bms/city/city_edit.js"]}){

<form class="layui-form" id="cityForm" lay-filter="cityForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">城市编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="code" name="code" placeholder="请输入城市编码" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">上级编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="pcode" name="pcode" placeholder="请输入上级编码" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">层级<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="level" name="level" placeholder="请输入层级" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">城市名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="city" name="city" placeholder="请输入城市名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">拼音<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="py" name="py" placeholder="请输入拼音" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">城市拼音首字母<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="indexLetter" name="indexLetter" placeholder="请输入城市拼音首字母" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">纬度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="latitude" name="latitude" placeholder="请输入纬度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">经度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="longitude" name="longitude" placeholder="请输入经度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">添加时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createTime" name="createTime" placeholder="请输入添加时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">启用状态：1-启用，0-停用<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="status" name="status" placeholder="请输入启用状态：1-启用，0-停用" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}